<?php
	session_start();
	if(isset($_SESSION ['usertype'])) {
		switch($_SESSION ['usertype']){
			case 2:
				header("Location:../../404.html");
				break;
			case 3:
				header("Location:../../404.html");
				break;
		}
	} else {
		header("Location:../../404.html");
		exit();
	}
?>
<!doctype html>
<!--[if IE 6 ]><html lang="en-us" class="ie6"> <![endif]-->
<!--[if IE 7 ]><html lang="en-us" class="ie7"> <![endif]-->
<!--[if IE 8 ]><html lang="en-us" class="ie8"> <![endif]-->
<!--[if (gt IE 7)|!(IE)]><!-->
<html lang="en-us"><!--<![endif]-->
<head>
	<meta charset="utf-8">

	<title>Psarinternet - Documentation</title>

	<meta name="description" content="It is a website that can make online Shopping and you can advertise every thing that you want to promote your products. ">
	<meta name="author" content="SAY yan">
	<meta name="copyright" content="SAY yan">
	<meta name="generator" content="Documenter v2.0 http://rxa.li/documenter">
	<meta name="date" content="2014-06-06T00:00:00+02:00">

	<link rel="stylesheet" href="assets/css/documenter_style.css" media="all">



	<script src="assets/js/jquery.js"></script>

	<script src="assets/js/jquery.scrollTo.js"></script>
	<script src="assets/js/jquery.easing.js"></script>

	<script>document.createElement('section');var duration='500',easing='swing';</script>
	<script src="assets/js/script.js"></script>

	<style>
		html{background-color:#FFFFFF;color:#383838;}
		::-moz-selection{background:#444444;color:#DDDDDD;}
		::selection{background:#444444;color:#DDDDDD;}
		#documenter_sidebar #documenter_logo{background-image:url();}
		a{color:#0000FF;}
		.btn {
			border-radius:3px;
		}
		.btn-primary {
			  background-image: -moz-linear-gradient(top, #0088CC, #0044CC);
			  background-image: -ms-linear-gradient(top, #0088CC, #0044CC);
			  background-image: -webkit-gradient(linear, 0 0, 0 0088CC%, from(#DDDDDD), to(#0044CC));
			  background-image: -webkit-linear-gradient(top, #0088CC, #0044CC);
			  background-image: -o-linear-gradient(top, #0088CC, #0044CC);
			  background-image: linear-gradient(top, #0088CC, #0044CC);
			  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088CC', endColorstr='#0044CC', GradientType=0);
			  border-color: #0044CC #0044CC #bfbfbf;
			  color:#FFFFFF;
		}
		.btn-primary:hover,
		.btn-primary:active,
		.btn-primary.active,
		.btn-primary.disabled,
		.btn-primary[disabled] {
		  border-color: #0088CC #0088CC #bfbfbf;
		  background-color: #0044CC;
		}
		hr{border-top:1px solid #EBEBEB;border-bottom:1px solid #FFFFFF;}
		#documenter_sidebar, #documenter_sidebar ul a{background-color:#DDDDDD;color:#222222;}
		#documenter_sidebar ul a{-webkit-text-shadow:1px 1px 0px #EEEEEE;-moz-text-shadow:1px 1px 0px #EEEEEE;text-shadow:1px 1px 0px #EEEEEE;}
		#documenter_sidebar ul{border-top:1px solid #AAAAAA;}
		#documenter_sidebar ul a{border-top:1px solid #EEEEEE;border-bottom:1px solid #AAAAAA;color:#444444;}
		#documenter_sidebar ul a:hover{background:#444444;color:#DDDDDD;border-top:1px solid #444444;}
		#documenter_sidebar ul a.current{background:#444444;color:#DDDDDD;border-top:1px solid #444444;}
		#documenter_copyright{display:block !important;visibility:visible !important;}
	</style>

</head>
<body class="documenter-project-psarinternet">
	<div id="documenter_sidebar">
		<h3 style="font-size: 35px;">Psarinternet</h3></a>
		<ul id="documenter_nav">
			<li><a href="#admin" title="Admin">Administrator</a></li>
			<li><a href="#create_user" title="Create User">Create User</a></li>
			<li><a href="#accounttype" title="Account Type">Account Type</a></li>
			<li><a href="#login" title="Login">Login</a></li>
			<li><a href="#create_category" title="Create Category">Create Category</a></li>
			<li><a href="#prodcuts" title="Prodcuts">Products</a></li>
			<li><a href="#advertise" title="advertise">Advertise</a></li>
			<li><a href="#banner" title="Banner">Banners</a></li>
			<li><a href="#youtube" title="Youtube">Youtube</a></li>
			<li><a href="#page" title="Page">Page</a></li>
			<li><a href="#generalsetting" title="generalsetting">General Setting</a></li>
			<li><a href="#setemal" title="E-mail Setting">E-mail Setting</a></li>
			<li><a href="#setpro" title="Prodcuts Setting">Products Setting</a></li>
			<li><a href="#setthumbnail" title="Thumbnail Setting">Thumbnail Setting</a></li>
			<li><a href="#front" title="Front Page"><h2>FRONT PAGE</h2></a></li>
			<li><a href="#signup" title="SignUP">SignUp</a></li>
			<li><a href="#loginfront" title="Login in Front">Login</a></li>
			<li><a href="#loggedfront" title="Front dasboard">Dasboard</a></li>
			<li><a href="#updateAccouont" title="Update Account">Account Update</a></li>
		</ul>
		<div id="documenter_copyright">Psarinternet 2014<br>
		made with the <a href="http://rxa.li/documenter">Documenter v2.0</a>
		</div>
	</div>
	<div id="documenter_content">

<section id="admin">
	<div class="page-header"><h3>Admin</h3><hr class="notop"></div>
		<p>
			<strong>Welcome to Admin Controller of Psainternet...</strong></p>
		<p>1. You can see all main menus of Admin of Psarinter</p>
		<p>2. Click on this section to view the website in front page.</p>
		<p>3. Click on this section to logout from Admin Page.</p>
		<p>4. This Section show the menus of Admin page.</p>
		<p>5. In this Section, you can select the popular Provinces and Popular products in Chart.</p>
		<p>6. This Section, you can select the top view of Products and Provinces</p>
		<p>7. You can select on this section to download chart as Image, PDF document</p>
		<p>
			<img alt="" height="374" src="assets/images/admin.PNG" width="916"></p>
		</section>
		<section id="create_user">
			<div class="page-header"><h3>Create User</h3><hr class="notop"></div>
		<p>
			To create new User go to Dasboard of Admin page of&nbsp; Psarinternet and then follow instruction bellow :</p>
		<ol>
			<li>
				over on the System menu</li>
			<li>
				Click on the User menu</li>
		</ol>
		<p>
			<img alt="" height="303" src="assets/images/createuser.jpg" width="751"></p>
		<p>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3. Click the insert button to create new user</p>
		<p>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4. Click on the delete button to delete user rows</p>
		<p>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5. Click on the view all to show all users</p>
		<p>
			<img alt="" height="204" src="assets/images/admin.PNG" width="776"></p>
		<p>
			6. Select User type</p>
		<p>
			7. Put your First Name</p>
		<p>
			8. Put your Last Name</p>
		<p>
			9. Put your User Name</p>
		<p>
			10. Create your Email Address</p>
		<p>
			11. Confirm your Email Address</p>
		<p>
			12. Create your Password</p>
		<p>
			13. Confirm your Password</p>
		<p>
			14. Click on the button Publish to save your User</p>
		<p>
			15. Click on the button Back to back to user list</p>
		<p>
			<img alt="" height="327" src="assets/images/formCreateUser.JPG" width="794"></p>
		<p>
			&nbsp;</p>
</section>
<section id="accounttype">
	<div class="page-header"><h3>Account Type</h3><hr class="notop"></div>
		<p>
			To create Account type in Psarinter, please follow our instruction:</p>

		<p>
			1. Over on the System menu.</p>
		<p>
			2. Click on the button Account type.</p>
		<p>
			3. After that click on the button Add to create new account.</p>
		<p>
			<img alt="" src="assets/images/accoounttypeView.jpg" width="694"></p>
		<p>
			4. Click on the button Save to save your account</p>
		<p>
			5. Click on the button Reset to clear your data.</p>
		<p> 6. Click on the button Back move to List View of Account Type.</p>
		<p>
		<img alt="" src="assets/images/accoounttypeadd.jpg" width="694"></p>
</section>
<section id="login">
	<div class="page-header"><h3>Login</h3><hr class="notop"></div>
		<p>
			To login Admin page&nbsp; of Psarinter , just follow&nbsp; instruction bellow :</p>
		<p>
			You go to http://www.psarinternet.com/admin then it will showed a form login :</p>
		<p>
			1. Fill correct your UserName</p>
		<p>
			2. Fill Correct your Password</p>
		<p>
			3. If you check Remember Me, your password will remember</p>
		<p>
			4. Click on the button Login log to&nbsp; your account</p>
		<p>
			5. Click on the button Reset to clear your data.</p>
		<p>
		<img alt="" src="assets/images/login.jpg"></p>
</section>
<section id="create_category">
	<div class="page-header"><h3>Create Category</h3><hr class="notop"></div>
		<p>
			To create Category, please go to dasboard of Admin Page and then follow instruction bellow:</p>
		<p>
			1. Over on the menu Catalog</p>
		<p>
			2. Click on the Categories menu</p>
		<p>
			&nbsp;</p>
		<p>
			<img alt="" height="315" src="assets/images/category&product.png" width="758" /></p>
		<p>
			<img alt="" height="352" src="assets/images/category.png" width="729"></p>
		<p>
			3. Click on the button Add to create new Category</p>
		<p>
			&nbsp;&nbsp;&nbsp; 3.1 Click on the button Save to save your Category</p>
		<p>
			&nbsp;&nbsp;&nbsp; 3. 2 Click on the button Reset to clear your data in the form</p>
		<p>
			&nbsp;&nbsp;&nbsp; 3. 3 Click on the button Cancel to Cancel your category</p>
		<p>
			<img alt="" src="assets/images/categoryadd.png"></p>
		<p>
			4. Click on the button Edit to Edit your categories</p>
		<p>
			5. Click on the button Publish to save your Category</p>
		<p>
			6. Click on the button Unpublish to disable your category</p>
		<p>
			7. Click on the button Delete to delete your category</p>
</section>
<section id="prodcuts">
	<div class="page-header"><h3>Prodcuts</h3><hr class="notop"></div>
		<p>
			To go to the products page , open the dasboard of Admin Page and follow :</p>
		<p>
			1. Over on the catalog menu</p>
		<p>
			2. Click on the Products menu to view the products list.</p>
		<p>
			<img alt="" height="279" src="assets/images/products.png" width="694"></p>
		<p>This is view of product and please follow the  instruction to use it:</p>
		<p>  <img alt="" height="279" src="assets/images/productview.png" width="694"></p>
		<p> 1. Click on the button Add to create new product: </p>
		<p> 2. Click on the button Delete to delete product, before you can click delete please check in CheckBox and can multi check.</p>
		<p> 3. Click on status switch to un publish and publish.</p>
		<p> 4. Click to Edit Product and it will show form Edit as bellow: </p>
		<p>  <img alt="" height="279" src="assets/images/productedit.png" width="694"></p>
		<p> 1.1 This section, you can fill the information of products.</p>
		<p>  <img alt="" height="279" src="assets/images/productadd.png" width="694"></p>
		<p> 1.2 Go to the Category section to choose your category and fill the information of the Categories.</p>
		<p>  <img alt="" height="279" src="assets/images/productaddcategory.png" width="694"></p>
		<p> 1.3 This section, you must fill your Contact and Address.</p>
		<p>  <img alt="" height="279" src="assets/images/productcontactinformation.png" width="694"></p>
		<p> 1.4 Click on the button Publish to Save your new product.</p>
		<p> 1.5 Click on the button Cancel to clear your info.</p>

</section>
<section id="advertise">
	<div class="page-header"><h3>Advertise</h3><hr class="notop"></div>
		<p>To create advertise on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Advertise menu at the top menu.</p>
		<p>
			<img alt="" src="assets/images/advertiseview.png" width="694"></p>
		<p>
			2. Click on the Add Advertise menu to create new Advertising.</p>
		<p> > click on the Save menu to save your new advertising.</p>
		<p> > Click on the Reset menu to clear your information.</p>
		<p> > Click on the Cancel menu to Cancel your advertise.</p>
		<p>
			<img alt="" src="assets/images/advertiseadd.png" width="694"></p>
		<p>
			3. Click on the Publish menu to Active your advertise</p>
		<p>
			4. Click on the Unpublish menu to Disable your Advertise</p>
		<p>
			5. Please check in the checkBox and then Click on the Delete menu to delete your advertise.</p>

</section>
<section id="banner">
	<div class="page-header"><h3>Banner</h3><hr class="notop"></div>
		<p>To create Banners on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the banner menu at the top menu.</p>
		<p>
			<img alt="" src="assets/images/bannerview.png" width="694"></p>
		<p>
			2. Click on the Add banner menu to create new Banner.</p>
		<p> > click on the Save menu to save your new Banner.</p>
		<p> > Click on the Reset menu to clear your information.</p>
		<p> > Click on the Cancel menu to Cancel your Banner.</p>
		<p>
			<img alt="" src="assets/images/banneradd.png" width="694"></p>
		<p>
			3. Click on the Publish menu to Active your Banner</p>
		<p>
			4. Click on the Unpublish menu to Disable your Banner</p>
		<p>
			5. Please check in the checkBox and then Click on the Delete menu to delete your Banner.</p>

</section>
<section id="youtube">
	<div class="page-header"><h3>Youtube</h3><hr class="notop"></div>
		<p>To create video youtube on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Youtube menu at the top menu.</p>
		<p>
			<img alt="" src="assets/images/videoview.png" width="694"></p>
		<p>
			2. Click on the Add New menu to create new Youtube. And please fill all the  information that provided.</p>
		<p> > click on the Save menu to save your new Youtube.</p>
		<p> > Click on the Reset menu to clear your information.</p>
		<p> > Click on the Cancel menu to Cancel your Youtube.</p>
		<p>
			<img alt="" src="assets/images/videoadd.png" width="694"></p>
		<p>
			3. Click on the Publish menu to Active your Youtube</p>
		<p>
			4. Click on the Unpublish menu to Disable your Youtube</p>
		<p>
			5. Please check in the checkBox and then Click on the Delete menu to delete your Youtube.</p>

</section>
<section id="page">
	<div class="page-header"><h3>Page</h3><hr class="notop"></div>
		<p>To create new Page on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Page menu at the top menu.</p>
		<p>
			<img alt="" src="assets/images/pageview.png" width="694"></p>
		<p>
			2. Click on the insert menu to create new Page. And please fill all the  information that provided.</p>
		<p> > click on the Publish menu to save your new Page.</p>
		<p> > Click on the Back menu move to  your view page list.</p>
		<p>
			<img alt="" src="assets/images/pageadd.png" width="694"></p>
		<p>
			4. Click on the Publish and Unpublish menu to active and Disable your Page</p>
</section>

<section id="generalsetting">
	<div class="page-header"><h3>General Setting</h3><hr class="notop"></div>
		<p>To Set your General Setting on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Setting menu at the top menu.</p>
		<p> 2. You can set your general Setting in the section.</p>
		<p> 3. Click on the button Save to save your information.</p>
		<p>
			<img alt="" src="assets/images/settinggeneral.png" width="694"></p>
</section>
<section id="setemal">
	<div class="page-header"><h3>E-mail Setting</h3><hr class="notop"></div>
		<p>To Set your E-mail on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Setting menu at the top menu.</p>
		<p> 2. You can set your E-mail Setting in the section.</p>
		<p> 3. You can Edit your information in this section.</p>
		<p> 4. click on the button Save to save your Email Setting.</p>
		<p>
			<img alt="" src="assets/images/settingemail.png" width="694"></p>
</section>
<section id="setpro">
	<div class="page-header"><h3>Products Setting</h3><hr class="notop"></div>
		<p>To Set your Products on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Setting menu at the top menu.</p>
		<p> 2. You can set your Products Setting in the section.</p>
		<p> 3. Click on the button Save to save your Prodcuts Setting.</p>>
		<p>
			<img alt="" src="assets/images/settingproduct.png" width="694"></p>
</section>
<section id="setthumbnail">
	<div class="page-header"><h3>Thumbnail Setting</h3><hr class="notop"></div>
		<p>To Set your Thumbnail on Psarinternet Admin page, please follow our instruction:</p>

		<p>
			1. Click on the Setting menu at the top menu.</p>
		<p> 2. You can set your Thumbnail in the section.</p>
		<p> 3. Click on the button Save to save your Thumbnail Setting.</p>>
		<p>
			<img alt="" src="assets/images/settingthumbnail.png" width="694"></p>
</section>
<section id="front">
	<div class="page-header"><h3>Front page</h3><hr class="notop"></div>
		<p>This Section show how to control and Sign Up in Front page. <br/>And it has two type of Account users are Free Account and Premium Account.</p>
</section>
<section id="signup">
	<div class="page-header"><h3>Sign UP</h3><hr class="notop"></div>
		<p>This Section is show how to sign up.</p>
		<p> 1. Click on the signup menu to Register in Psarinter to Advertise and use Services of Psarinter.</p>
		<p> 2. Click on the login with facebook to register from your facebook account.</p>
		<p> 3. Select on free account to Register using Psarinter service free but it has limited from Psarinter.</p>
		<p> 4. Select on Premium account to register with payment and you can choose your plan to use Psarinter service.</p>
		<p> 5. Please fill the blank box that was provided captcha text.</p>
		<P> 6. Please select " Yes " on Psarinter agreement and privacy.</p>
		<P> 7. Click on the button REGISTER to create your account.</p>
		<img alt="" src="assets/images/signup.png" width="694"></p>
</section>
<section id="loginfront">
	<div class="page-header"><h3>Login in Front Page</h3><hr class="notop"></div>
		<p>This Section is tell you how to login your account in Front Page of Psarinter.</p>
		<p> 1. Click on the login menu to Log to your account in Psarinternet.</p>
		<p> 2. Select on free account to login with your free account.</p>
		<p> 3. Select on Premium account to login with your Premium account.</p>
		<p> 4. Select on the Remember me checkBox to Remember your password.</p>
		<P> 5. Click on the  button " Login with facebook " to login with your Facebook Account.</p>
		<P> 6. Click on the button LOGIN to Login to your account.</p>
		<img alt="" src="assets/images/loginfrontend.png" width="694"></p>
</section>
<section id="loggedfront">
	<div class="page-header"><h3>Dasboard</h3><hr class="notop"></div>
		<p>After you logged to your account already, you can control your product and update your account also.</p>
		<p> 1. Click on " Add New Ads " to create new product.</p>
		<p> 2. Click on the " List All Ads " to view all your products.</p>
		<p> 3. Click on the " Update your account " to update your account what is your choices.</p>
		<p> 4. Click on the button "Edit profile" to save your account.</p>
		<img alt="" src="assets/images/logedfront.PNG" width="694"></p>

		<p>  <img alt="" height="279" src="assets/images/productedit.png" width="694"></p>
		<p> 1.1 This section, you can fill the information of products.</p>
		<p>  <img alt="" height="279" src="assets/images/productadd.png" width="694"></p>
		<p> 1.2 Go to the Category section to choose your category and fill the information of the Categories.</p>
		<p>  <img alt="" height="279" src="assets/images/productaddcategory.png" width="694"></p>
		<p> 1.3 This section, you must fill your Contact and Address.</p>
		<p>  <img alt="" height="279" src="assets/images/productcontactinformation.png" width="694"></p>
		<p> 1.4 Click on the button Publish to Save your new product.</p>
		<p> 1.5 Click on the button Cancel to clear your info.</p>
</section>
<section id="updateAccouont">
	<div class="page-header"><h3>Update your Account</h3><hr class="notop"></div>
		<p>This section, you can select your account type that you want to improve.</p>
		<p>Click on the button "SUBMIT" to update your account.</p>
		<img alt="" src="assets/images/updateAccount.PNG" width="694"></p>
</section>

	</div>
</body>
</html>